﻿// <copyright file="ExcessDirectorItem.cs" company="City of Portland, BES-ASM">
// </copyright>
// <summary>ExcessDirectorItem struct</summary>

namespace BESASM.EMGAATS.BusinessClasses
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;

  /// <summary>
  /// Records information about Directors that allocate too much area away from an Area object
  /// </summary>
  public struct ExcessDirectorItem
  {
    /// <summary>
    /// The Director causing an overallocation
    /// </summary>
    public IDirector Director;

    /// <summary>
    /// The amount of area overallocated
    /// </summary>
    public int AreaSqFt;

    /// <summary>
    /// Initializes a new instance of the <see cref="ExcessDirectorItem"/> struct
    /// </summary>
    /// <param name="aDirector">The Director causing the overallocation</param>
    /// <param name="areaSqFt">The amount overallocated</param>
    public ExcessDirectorItem(IDirector aDirector, int areaSqFt)
    {
      this.Director = aDirector;
      this.AreaSqFt = areaSqFt;
    }
  }
}
